//
//  XDCommonTools.swift
//  weibo
//
//  Created by lucy on 2016/10/22.
//  Copyright © 2016年 com.huashengHuaSheng. All rights reserved.
//

import UIKit

let XDSWITCHVCNOTI = "XDSWITCHVCNOTI"

//屏幕的宽度
let SCREENWIDTH = UIScreen.main.bounds.size.width

//屏幕的高度
let SCREENHEIGHT = UIScreen.main.bounds.size.height

//主题的颜色
let THEMECOLOR = UIColor.orange

//随机色
func RandomColor()->UIColor{
    
    let r = CGFloat(arc4random()%256)
    let g = CGFloat(arc4random()%256)
    let b = CGFloat(arc4random()%256)
    return UIColor(red: r/255.0, green: g/255.0, blue: b/255.0, alpha: 1)

}

//字体大小
let XDBigSizeFont:CGFloat = 18
let XDNormalSizeFont:CGFloat = 14
let XDSmallSizeFont:CGFloat = 10

////微博相关信息
//let XDAPPKEY = "3806911673"
//let XDAPPSECRET = "71efeb5d2cb9ac0a6338ea15d128cf9c"
//let XDREDIRECTURI = "http://www.baidu.com"
//
////微博账号和密码
//let XDUSERACCOUNT = "912434437@qq.com"
//let XDUSERPWD = "asd123321"


// 微博相关信息
let XDAPPKEY = "807655454"
let XDAPPSECRET = "299d0639437f607f97c37e624947bffa"
let XDREDIRECTURI = "http://www.baidu.com"
// 微博账号和密码
let XDUSERACCOUNT = "rangyuan05788697@163.com"
let XDUSERPWD = "bbb333"

//屏幕的宽度和高度
let XDSCREENW = UIScreen.main.bounds.width
let XDSCREENH = UIScreen.main.bounds.height









